﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Devv.FreshTracker
{
	public partial class DonateForm : Form
	{
		#region Methods

		public DonateForm()
		{
			InitializeComponent();
		}

		private void DonateForm_Load(object sender, EventArgs e)
		{
			Maintenance.Log("Donation window opened!");
		}

		private void imgDonate_Click(object sender, EventArgs e)
		{
			Donate();
		}

		private void linkDonate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			Donate();
		}

		private void Donate()
		{
			Process.Start(App.DONATE_URL);
			Close();
		}

		#endregion
	}
}
